<template>
  <div class="card">
    <el-card class="box-card" shadow="always">
      <template #header>
        <div class="card-header">
          <span>{{ title }}</span>
        </div>
      </template>
      <div class="item">
        <slot></slot>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: "title",
    },
  },
};
</script>

<style lang="less" scoped></style>
